package net.atomtree.corrsepond.spider.passage;

import net.atomtree.corrsepond.spider.Spider;
import net.atomtree.corrsepond.spider.SpiderContext;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;

/**
 * Created by czk on 2016/1/5.
 */
public class PassageStrategy {
    public Spider spider;
    public PassageStrategy(Spider spider){
        this.spider=spider;
    }
    public Elements getPassage(SpiderContext context) throws Exception {
        return spider.getPassage(context);
    }
}
